
#include "mainwindow.h"
#include "ui_mainwindow.h"


#include <QPainterPath>
#include <QRegion>
#include <QTimer>

void MainWindow::Init(){
    /* Create main widget and set mask, style sheet and shadow */
#ifdef Q_OS_LINUX
    QPainterPath path;
    path.addRect(ui->mainWidget->rect());
#else
    QPainterPath path;
    path.addRoundedRect(ui->mainWidget->rect(), cornerRadius - 1, cornerRadius - 1);
#endif

}

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}

MainWindow::~MainWindow()
{
    delete ui;
}



